'use strict';
(function() {

	ngApp.controller("paginController", ["$scope", function($scope) {
		
		//初始化翻页对象
		$scope.pagin = {
			pageSize: 10,
			pageIndex: 1,
			recordCnt: 53
		};

		//定义翻页方法
		$scope.showPage = function(pageIndex) {
			//查询数据
			console.info($scope.pagin);
		}

		//显示第一页
		$scope.showPage(1);

	}]);

})();